# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-notification-daemon
pkgver=1.26.1
pkgrel=0
pkgdesc="Small, passive popup dialogs that notify the user of particular events"
url="https://github.com/mate-desktop/mate-notification-daemon"
arch="all"
license="GPL-2.0-or-later"
depends="mate-common"
makedepends="libwnck3-dev libnotify-dev libtool intltool dbus-glib-dev
	libcanberra-dev gtk+3.0-dev libxml2-dev libxau-dev mate-desktop-dev
	mate-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-notification-daemon-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
c7aaef499acb2829f9833734a57e77a11a321369cb5134a4c49bb3c1e9899951c6c3702d3aac1dff6ce1bb8e60e41fc7ac31046e3346852d2da5d4dacf849a1e  mate-notification-daemon-1.26.1.tar.xz
"
